package com.zhp.service.impl;

import com.zhp.dao.UserInfoDao;
import com.zhp.model.UserInfo;
import com.zhp.service.UserInfoService;

public class UserInfoServiceImpl implements UserInfoService {


    private UserInfoDao userInfoDao = new UserInfoDao();
    @Override
    public UserInfo findById(Integer id) {
        return userInfoDao.findById(id);
    }

    @Override
    public int update(UserInfo userInfo) {
        return userInfoDao.update(userInfo);
    }
}
